<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="es"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>
        <h:form id="forminscription">                          
            <h:panelGrid styleClass="forminterno">                            
                <!--TABLA HEADER-->                           
                <f:facet name="header">
                    <div class="header">
                        <h:outputLabel value="#{academic.escuela}"/><br/>
                        <h:outputLabel value="#{academic.slogan}"/><br/>
                        <h:outputLabel value="#{academic.nit}"/><br/>
                        <h:outputLabel value="#{titlesecretary.forminscripcion}"/><br/>                        
                        <h:outputLabel value="#{titlesecretary.anoinscripcion}"/>
                        <select id="year" name="year" size="1" style="width: 55px;"> 
                            <option value="#{titlesecretary.anoinscripcion}"/>
                            <option value="20">2010</option>                                    
                        </select><br/>                        
                    </div>
                    <h:inputText id="numforminscription" disabled="true"  size="4"  style="float: right; margin-right: 2.7%"/>                    
                </f:facet>                          
                <!--DATOS PERSONALES-->                
                <h:panelGrid styleClass="panelgridHoja" cellpadding="0" cellspacing="0">                
                    <f:facet name="header">
                        <h:outputLabel value="#{titlesecretary.personales}" style="margin-left: 380px"/>    
                    </f:facet> 
                    <h:panelGrid columns="2" styleClass="subpanelgridHoja">
                        <h:panelGroup>
                            <h:panelGrid columns="4">
                                <h:panelGroup>
                                    <h:outputText value="#{student.apellidos}"/><br/>
                                    <h:inputText id="apellidos" size="40" required="true" value="#{inscription.persona.apellidos}"/>     
                                </h:panelGroup>   
                                <h:panelGroup>
                                    <h:outputText value="#{student.nombre}"/><br/>
                                    <h:inputText id="nombre" size="35" required="true" value="#{inscription.persona.nombres}"/><br/>   
                                </h:panelGroup>
                                <h:panelGroup>                                
                                	
                                    <h:outputLabel value="#{student.tiposex}"/>                                                                                                
                                    <h:selectOneRadio value="#{inscription.persona.tipoGenero}"  >
                                        <f:selectItems value="#{tipoGeneroController.selectedItems}" var="tipo" itemLabel="item.generoSexual"/> 
                                    </h:selectOneRadio>	                            
                                </h:panelGroup>   
                                <h:panelGroup>
                                    <h:outputText value="#{student.fechanacimiento}"/><br/>                                
                                    <h:inputText id="dianacimiento" size="1" value="#{student.dia}" required="true"/>  
                                    <h:inputText id="mesnacimiento" size="1" value="#{student.mes}" required="true"/>                                        
                                    <h:inputText id="anonacimiento" size="1" value="#{student.ano}" required="true"/>
                                </h:panelGroup>   
                            </h:panelGrid>   
                            <h:panelGrid columns="6">
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.id}"/><br/>
                                    <h:inputText size="11" value="#{inscription.persona.numeroIdentificacion}"/>                                                 
                                    <h:commandButton title="#{default.find}" styleClass="find"/>
                                </h:panelGroup>   
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.tipoid}"/><br/>
                                    <h:panelGroup>
                                        <h:selectOneRadio value="#{inscription.persona.tipoDocumento}">
                                            <f:selectItems value="#{tipoDocumentoController.selectedItems}"/>
                                        </h:selectOneRadio>                                                                              
                                    </h:panelGroup>                                            
                                </h:panelGroup>
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.expedida}"/><br/>
                                    <h:inputText id="expedida" size="25"/> 
                                </h:panelGroup>  
                                <h:panelGroup>
                                    <h:outputText value="#{student.lugarprocedencia}"/><br/>
                                    <h:inputText id="procedencia" size="16"  maxlength="15"/>                                   
                                </h:panelGroup>                     
                                <h:panelGroup>
                                    <h:outputText value="#{student.lugarnacimiento}"/><br/>
                                    <h:inputText id="nacimiento" size="16"  maxlength="15"/>                                                    
                                </h:panelGroup>  
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.edad}"/><br/>
                                    <h:inputText id="edad" size="2"/>
                                </h:panelGroup>
                            </h:panelGrid> 
                        </h:panelGroup>
                        <h:commandButton id="submit" styleClass="photo"/>                                                                                         
                    </h:panelGrid>
                    <!--2BLOQUE-->
                    <h:panelGrid columns="2" styleClass="subpanelgridHoja">
                        <h:panelGroup>
                            <h:panelGrid columns="3">
                                <h:panelGroup>
                                    <h:outputText value="#{student.direccion}"/>
                                    <h:inputText id="direccion" size="35"/>                                                                                                                
                                </h:panelGroup>
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.barrio}"/>
                                    <h:inputText id="barrio" size="15"/>                                                                                                                                                     
                                </h:panelGroup> 
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.telefono}"/>
                                    <h:inputText id="telefono" size="9"/>                                  
                                </h:panelGroup>   
                            </h:panelGrid>
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:panelGrid columns="2">
                                <h:panelGroup>
                                    <h:outputText value="#{student.acudiente}"/>
                                    <h:inputText id="acudiente" size="35"/>                                  
                                </h:panelGroup>
                                <h:panelGroup>
                                    <h:outputLabel value="#{student.telefono}"/>
                                    <h:inputText id="telefonoacudiente" size="9"/>                                  
                                </h:panelGroup>                                 
                            </h:panelGrid>
                        </h:panelGroup>
                    </h:panelGrid>    
                    <!--3 BLOQUE-->
                    <h:panelGrid columns="6" styleClass="subpanelgridHoja">
                        <h:panelGroup>
                            <h:outputText value="#{student.email}"/><br/>
                            <h:inputText id="email" size="35"/>  
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputLabel value="#{student.estadocivil}"/><br/>  
                            <h:selectOneMenu id="estadocivil">
                                <f:selectItem itemValue="#{student.soltero}"/>    
                                <f:selectItem itemValue="#{student.casado}"/> 
                                <f:selectItem itemValue="#{student.separado}"/> 
                                <f:selectItem itemValue="#{student.viudo}"/> 
                                <f:selectItem itemValue="#{student.unionlibre}"/> 
                            </h:selectOneMenu>                                   
                        </h:panelGroup>  
                        <h:panelGroup>
                            <h:outputText value="#{student.conyugue}"/><br/>
                            <h:inputText id="conyugue" size="35"/>     
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.telefono}"/><br/>
                            <h:inputText id="telefonoconyugue" size="9"/>                      
                        </h:panelGroup>                        
                        <h:panelGroup>
                            <h:outputLabel for="hijos" value="#{student.hijos}"/>                            
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}"/> 
                                <f:selectItem itemLabel="#{student.negativo}"/> 
                            </h:selectOneRadio>	                  
                        </h:panelGroup>	
                        <h:panelGroup>
                            <h:outputLabel value="#{student.cantidadhijos}"/><br/>  
                            <h:selectOneMenu id="cantidadhijos">
                                <f:selectItem itemValue="0"/>    
                                <f:selectItem itemValue="1"/> 
                                <f:selectItem itemValue="2"/> 
                            </h:selectOneMenu>                                   
                        </h:panelGroup>  
                    </h:panelGrid>
                    <!--4 BLOQUE-->
                    <h:panelGrid columns="7" styleClass="subpanelgridHoja">
                        <h:panelGroup>
                            <h:outputText value="#{student.colegio}"/><br/>
                            <h:inputText id="colegio" size="35"/>                      
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputLabel for="dpt" value="#{student.dptocolegio}"/><br/>                           
                            <h:selectOneMenu id="dpto" title="#{student.dptocoelgio}">
                                <f:selectItem  itemValue="Antioquia" />                                
                            </h:selectOneMenu>
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputLabel for="ciudad" value="#{student.ciudadcolegio}"/><br/>                           
                            <h:selectOneMenu id="ciudad" title="#{student.select}">
                                <f:selectItem  itemValue="San Juanito" />                                    
                            </h:selectOneMenu>
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.anocolegio}"/><br/>                                                             
                            <select id="año" name="año" size="1"> <option value="#{student.ano}"/>
                                <option value="20">2010</option>                                    
                            </select>                            
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.tipocolegio}"/><br/>                           
                            <h:selectOneMenu id="tipocolegio">
                                <f:selectItem itemValue="#{student.oficialnal}"/>    
                                <f:selectItem itemValue="#{student.oficialdptl}"/> 
                                <f:selectItem itemValue="#{student.oficialmpal}"/> 
                                <f:selectItem itemValue="#{student.cooperativo}"/> 
                                <f:selectItem itemValue="#{student.validacion}"/> 
                            </h:selectOneMenu> 
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputLabel for="laboraaspirante" value="#{student.labora}"/><br/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>	
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.empresa}"/><br/>
                            <h:inputText id="empresa" size="22"/>                      
                        </h:panelGroup>
                    </h:panelGrid>
                    <!--5 BLOQUE-->
                    <h:panelGrid columns="5" styleClass="subpanelgridHoja">
                        <h:panelGroup>                                    
                            <h:outputText value="#{student.curso}"/><br/>
                            <h:selectOneMenu id="cursos">
                                <f:selectItem itemValue="#{student.comercial}"/>    
                                <f:selectItem itemValue="#{student.privado}"/> 
                                <f:selectItem itemValue="#{student.auxiliar}"/>                                 
                            </h:selectOneMenu> 
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.carrera}"/><br/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>    
                        </h:panelGroup>                          
                        <h:panelGroup>
                            <h:outputText value="#{student.cual}"/><br/>
                            <h:inputText id="cualcarrera" size="35"/>     
                        </h:panelGroup>                                                     
                        <h:panelGroup>
                            <h:outputText value="#{student.donde}"/><br/>
                            <h:inputText id="donde" size="50"/>     
                        </h:panelGroup> 
                        <h:panelGroup>
                            <h:outputText value="#{student.termino}"/><br/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>    
                        </h:panelGroup>
                    </h:panelGrid>
                    <!--6 BLOQUE-->                    
                    <h:panelGrid columns="4" styleClass="subpanelgridHoja">
                        <h:panelGroup>
                            <h:outputText value="#{student.nombremadre}"/><br/>
                            <h:inputText id="nombremadre" size="45"/>     
                        </h:panelGroup>                            
                        <h:panelGroup>
                            <h:outputText value="#{student.telefono}"/><br/>
                            <h:inputText id="telefonomadre" size="14"/>     
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputText value="#{student.direccion}"/><br/>
                            <h:inputText id="direccionmadre" size="35"/>     
                        </h:panelGroup>
                        <h:panelGroup>
                            <h:outputLabel for="laboram" value="#{student.labora}"/><br/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>	
                        </h:panelGroup>  

                        <h:panelGroup>
                            <h:outputText value="#{student.nombrepadre}"/><br/>
                            <h:inputText id="nombrepadre" size="45"/>     
                        </h:panelGroup>                            
                        <h:panelGroup>
                            <h:outputText value="#{student.telefono}"/><br/>
                            <h:inputText id="telefonopadre" size="14"/>     
                        </h:panelGroup> 
                        <h:panelGroup>
                            <h:outputText value="#{student.direccion}"/><br/>
                            <h:inputText id="direccionpadre" size="35"/>     
                        </h:panelGroup>
                        <h:panelGroup style="padding-left: 17px">
                            <h:outputLabel for="laborap" value="#{student.labora}"/><br/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>	
                        </h:panelGroup>
                    </h:panelGrid>                                        
                    <!--7 BLOQUE-->                    
                    <h:panelGrid styleClass="subpanelgridHoja">
                        <h:panelGrid columns="2">
                            <h:outputText value="#{student.motivocurso}" style="float: left"/>  
                            <h:inputText id="motivocurso" size="90" style="margin-left: 73px"/>                      
                        </h:panelGrid>                                        
                        <h:panelGrid columns="2">
                            <h:outputText value="#{student.aspiracioncurso}"  style="float: left"/>
                            <h:inputText id="aspiracioncurso" size="90"/>                        
                        </h:panelGrid>                        
                        <h:panelGrid columns="4">                            
                            <h:outputText value="#{student.vinculo}" style="float: left"/>
                            <h:selectOneRadio style="float:left"> 
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>                               
                            <h:outputText value="#{student.quienvinculo}" style="float: left"/>
                            <h:inputText id="quienvinculo" size="90"/>                                 
                        </h:panelGrid>
                        <h:panelGrid columns="2">
                            <h:outputText value="#{student.medios}" style=" float: left"/>  
                            <h:inputText id="medios" size="90" style="margin-left: 63px"/>                      
                        </h:panelGrid>  
                        <h:panelGrid columns="4">
                            <h:outputText value="#{student.deporte}" style="float: left"/>
                            <h:selectOneRadio style="margin-left: 20px">
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio> 
                            <h:outputText value="#{student.cual}" style="float: left; margin-left: 7px"/>
                            <h:inputText id="cualdeporte" size="90"/>     
                        </h:panelGrid>
                        <h:panelGrid columns="5">
                            <h:outputText value="#{student.hobbie}" style="float: left"/>
                            <h:inputText id="hobbie" size="41" style="margin-left: 70px"/>                               
                            <h:outputText value="#{student.ingles}" style="float: left; margin-left: 7px"/>
                            <h:panelGroup> 
                                <h:outputText value="#{student.habla}" style="margin-left: 5px"/>
                                <h:selectOneMenu id="ingleshabla">
                                    <f:selectItem itemValue="#{student.bien}"/>    
                                    <f:selectItem itemValue="#{student.regular}"/> 
                                    <f:selectItem itemValue="#{student.mal}"/>                                 
                                </h:selectOneMenu> 
                            </h:panelGroup>
                            <h:panelGroup> 
                                <h:outputText value="#{student.lee}"/>
                                <h:selectOneMenu id="ingleslee">
                                    <f:selectItem itemValue="#{student.bien}"/>    
                                    <f:selectItem itemValue="#{student.regular}"/> 
                                    <f:selectItem itemValue="#{student.mal}"/>                                 
                                </h:selectOneMenu> 
                            </h:panelGroup>
                        </h:panelGrid>
                        <h:panelGrid columns="2">                                                                                                              
                            <h:outputText value="#{student.eleccion}" style="float: left"/>
                            <h:inputText id="eleccion" size="90" style="margin-left: 70px"/>     
                        </h:panelGrid> 
                        <h:panelGrid columns="4">                            
                            <h:outputText value="#{student.otroscursos}" style="float: left"/>
                            <h:selectOneRadio>
                                <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                                <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                            </h:selectOneRadio>  
                            <h:outputText value="#{student.cual}"   />
                            <h:inputText id="cualinstituto" size="82"/>
                        </h:panelGrid>                   
                    </h:panelGrid>     
                    <h:panelGrid columns="2" styleClass="subpanelgridHoja" style="padding: 35px 0px 5px 10px">
                        <h:outputText value="#{titlesecretary.firmaalumno}" style="float: left"/>
                        <h:panelGroup>                        
                            <div class="calendario">
                                <h:outputText value="#{titlesecretary.fecha}" style="float: left"/>
                                <h:inputText styleClass="calender"/>  
                            </div>
                        </h:panelGroup>
                    </h:panelGrid>                    
                    <h:panelGrid  columns="3" styleClass="subpanelgridHoja" style="padding: 35px 0px 5px 10px">                        
                        <h:outputText value="#{titlesecretary.vb}" style="float: left"/>                        
                        <h:outputText value="#{titlesecretary.aprobado}" style="float: right"/>
                        <h:selectOneRadio style="float: left">
                            <f:selectItem itemLabel="#{student.afirmativo}" itemValue="Si"/> 
                            <f:selectItem itemLabel="#{student.negativo}" itemValue="No"/> 
                        </h:selectOneRadio>   
                    </h:panelGrid>
                </h:panelGrid>                
            </h:panelGrid> 
        </h:form>           
    </body>
</html>